home *** CD-ROM | disk | FTP | other *** search
-
-
-
- Pgetppid(2) Oct. 1, 1991 Pgetppid(2)
-
-
- N✓NA✓AM✓ME✓E
- Pgetppid - get the process id for the parent of the cur-
- rent process
-
- S✓SY✓YN✓NO✓OP✓PS✓SI✓IS✓S
- WORD Pgetppid();
-
- D✓DE✓ES✓SC✓CR✓RI✓IP✓PT✓TI✓IO✓ON✓N
- _✓P_✓g_✓e_✓t_✓p_✓p_✓i_✓d returns the process id of the parent of the cur-
- rently running process. The process id is a positive 16
- bit integer. The call is always successful.
-
- S✓SE✓EE✓E A✓AL✓LS✓SO✓O
- _✓P_✓g_✓e_✓t_✓p_✓g_✓r_✓p(2), _✓P_✓g_✓e_✓t_✓p_✓i_✓d(2)
-
- N✓NO✓OT✓TE✓ES✓S
- If the current process was started directly by the kernel,
- then _✓P_✓g_✓e_✓t_✓p_✓p_✓i_✓d will return 0.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Version 0.9 MiNT Programmer's Manual 1
-
-
-